package pojo;

import java.io.Serializable;

public class Address implements Serializable {
    private String address;
    private String name;
    private int phone;
    private int id;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getPhone() {
        return phone;
    }

    public void setPhone(int phone) {
        this.phone = phone;
    }

    public Address() {
        super();
        // TODO Auto-generated constructor stub
    }

    public Address(String address, String name, int phone) {
        super();
        this.address = address;
        this.name = name;
        this.phone = phone;
    }
    public Address(int id, String address, String name, int phone) {
        super();
        this.id = id;
        this.address = address;
        this.name = name;
        this.phone = phone;
    }
    public Address(int id) {
        super();
        this.id = id;
    }

    @Override
    public String toString() {
        return "Address [address=" + address + ", name=" + name + ", phone="
                + phone + ", id=" + id + "]";
    }
}
